<div class="modal-dialog modal-lg">
  <div class="modal-content">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
      <h4 class="modal-title">搜索</h4>
    </div>
    <div class="modal-body">
      <form class="form-inline" #searchForm="ngForm">
        <div class="box-body">
          <div class="form-group col-lg-12" style="padding-left:0px !important;margin-bottom:8px;">
            <label class="col-lg-2 text-right">发起日期:</label>
            <div class="col-lg-3">
              <div class="input-group date form_datetime">
                <input class="form-control" type="text" [(ngModel)]="postBody.sOprDateStart" name="sOprDateStart" mwlFlatpickr style="background: white; cursor: pointer;">
              </div>
            </div>
            <label class="col-lg-2 text-right">到:</label>
            <div class="col-lg-3">
              <div class="input-group date form_datetime">
                <input class="form-control" type="text" [(ngModel)]="postBody.sOprDateEnd" name="sOprDateEnd" mwlFlatpickr style="background: white; cursor: pointer;">
              </div>
            </div>
          </div>
          <div class="form-group col-lg-12" style="padding-left:0px !important;margin-bottom:8px;">
            <label class="col-lg-2 text-right">批次区间:</label>
            <div class="col-lg-3">
              <input class="form-control" [min]="0" maxlength="9" digits type="text" [(ngModel)]="postBody.nBatchNoStart" #nBatchNoStart="ngModel" name="nBatchNoStart">
              <p *ngIf="nBatchNoStart.errors?.digits" class="errorTip">请输入正整数</p>
            </div>
            <label class="col-lg-2 text-right">到:</label>
            <div class="col-lg-3">
              <input class="form-control" [min]="0" digits maxlength="9" type="text" [(ngModel)]="postBody.nBatchNoEnd" #nBatchNoEnd="ngModel" name="nBatchNoEnd">
              <p *ngIf="nBatchNoEnd.errors?.digits" class="errorTip">请输入正整数</p>
            </div>
          </div>
          <div class="form-group col-lg-12" style="padding-left:0px !important;margin-bottom:8px;">
            <label class="col-lg-2 text-right">发起人:</label>
            <div class="col-lg-3">
              <input class="form-control" [(ngModel)]="postBody.commitOprZh" name="commitOprZh">
            </div>
            <label class="col-lg-2 text-right">文件名称:</label>
            <div class="col-lg-3">
              <input class="form-control" [(ngModel)]="postBody.sFileName" name="sFileName">
            </div>
          </div>
          <div class="form-group col-lg-12" style="padding-left:0px !important;margin-bottom:8px;">
            <label class="col-lg-2 text-right">适用基金组:</label>
            <div class="col-lg-3">
              <!-- <input class="form-control" [(ngModel)]="postBody.sFundGroupds" name="sFundGroupds"> -->
              <select [(ngModel)]="sFundGroupds" name="sFundGroupds" id="NqdiiRouteFundGroupds" multiple></select>
              
            </div>
            <label class="col-lg-2 text-right">适用基金类别:</label>
            <div class="col-lg-3">
              <!-- <input class="form-control" [(ngModel)]="postBody.sFundType" name="sFundType"> -->
              <select [(ngModel)]="sFundType" name="sFundType" id="NqdiiRouteFundType" multiple></select>                
            </div>
          </div>
        </div>
      </form>
    </div>
    <div class="modal-footer">
      <button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
      <button type="submit" class="btn btn-primary pull-right" (click)="searchQuery()" [disabled]="nBatchNoStart.errors?.digits||nBatchNoEnd.errors?.digits">搜索</button>
    </div>
  </div>
</div>